3.155 \(\int \frac{\left (2+3 x^2\right ) \sqrt{3+5 x^2+x^4}}{x^4} \, dx\)

Optimal. Leaf size=305 \[ -\frac{64 \sqrt{x^4+5 x^2+3}}{9 x}+\frac{32 x \left (2 x^2+\sqrt{13}+5\right )}{9 \sqrt{x^4+5 x^2+3}}+\frac{49 \sqrt{\frac{\left (5-\sqrt{13}\right ) x^2+6}{\left (5+\sqrt{13}\right ) x^2+6}} \left (\left (5+\sqrt{13}\right ) x^2+6\right ) F\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{3 \sqrt{6 \left (5+\sqrt{13}\right )} \sqrt{x^4+5 x^2+3}}-\frac{16 \sqrt{\frac{2}{3} \left (5+\sqrt{13}\right )} \sqrt{\frac{\left (5-\sqrt{13}\right ) x^2+6}{\left (5+\sqrt{13}\right ) x^2+6}} \left (\left (5+\sqrt{13}\right ) x^2+6\right ) E\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{9 \sqrt{x^4+5 x^2+3}}-\frac{\sqrt{x^4+5 x^2+3} \left (2-9 x^2\right )}{3 x^3} \]

[Out]

(32*x*(5 + Sqrt[13] + 2*x^2))/(9*Sqrt[3 + 5*x^2 + x^4]) - (64*Sqrt[3 + 5*x^2 + x
^4])/(9*x) - ((2 - 9*x^2)*Sqrt[3 + 5*x^2 + x^4])/(3*x^3) - (16*Sqrt[(2*(5 + Sqrt
[13]))/3]*Sqrt[(6 + (5 - Sqrt[13])*x^2)/(6 + (5 + Sqrt[13])*x^2)]*(6 + (5 + Sqrt
[13])*x^2)*EllipticE[ArcTan[Sqrt[(5 + Sqrt[13])/6]*x], (-13 + 5*Sqrt[13])/6])/(9
*Sqrt[3 + 5*x^2 + x^4]) + (49*Sqrt[(6 + (5 - Sqrt[13])*x^2)/(6 + (5 + Sqrt[13])*
x^2)]*(6 + (5 + Sqrt[13])*x^2)*EllipticF[ArcTan[Sqrt[(5 + Sqrt[13])/6]*x], (-13
+ 5*Sqrt[13])/6])/(3*Sqrt[6*(5 + Sqrt[13])]*Sqrt[3 + 5*x^2 + x^4])

_______________________________________________________________________________________

Rubi [A]  time = 0.377835, antiderivative size = 305, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2 \[ -\frac{64 \sqrt{x^4+5 x^2+3}}{9 x}+\frac{32 x \left (2 x^2+\sqrt{13}+5\right )}{9 \sqrt{x^4+5 x^2+3}}+\frac{49 \sqrt{\frac{\left (5-\sqrt{13}\right ) x^2+6}{\left (5+\sqrt{13}\right ) x^2+6}} \left (\left (5+\sqrt{13}\right ) x^2+6\right ) F\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{3 \sqrt{6 \left (5+\sqrt{13}\right )} \sqrt{x^4+5 x^2+3}}-\frac{16 \sqrt{\frac{2}{3} \left (5+\sqrt{13}\right )} \sqrt{\frac{\left (5-\sqrt{13}\right ) x^2+6}{\left (5+\sqrt{13}\right ) x^2+6}} \left (\left (5+\sqrt{13}\right ) x^2+6\right ) E\left (\tan ^{-1}\left (\sqrt{\frac{1}{6} \left (5+\sqrt{13}\right )} x\right )|\frac{1}{6} \left (-13+5 \sqrt{13}\right )\right )}{9 \sqrt{x^4+5 x^2+3}}-\frac{\sqrt{x^4+5 x^2+3} \left (2-9 x^2\right )}{3 x^3} \]

Antiderivative was successfully verified.

[In]  Int[((2 + 3*x^2)*Sqrt[3 + 5*x^2 + x^4])/x^4,x]

[Out]

(32*x*(5 + Sqrt[13] + 2*x^2))/(9*Sqrt[3 + 5*x^2 + x^4]) - (64*Sqrt[3 + 5*x^2 + x
^4])/(9*x) - ((2 - 9*x^2)*Sqrt[3 + 5*x^2 + x^4])/(3*x^3) - (16*Sqrt[(2*(5 + Sqrt
[13]))/3]*Sqrt[(6 + (5 - Sqrt[13])*x^2)/(6 + (5 + Sqrt[13])*x^2)]*(6 + (5 + Sqrt
[13])*x^2)*EllipticE[ArcTan[Sqrt[(5 + Sqrt[13])/6]*x], (-13 + 5*Sqrt[13])/6])/(9
*Sqrt[3 + 5*x^2 + x^4]) + (49*Sqrt[(6 + (5 - Sqrt[13])*x^2)/(6 + (5 + Sqrt[13])*
x^2)]*(6 + (5 + Sqrt[13])*x^2)*EllipticF[ArcTan[Sqrt[(5 + Sqrt[13])/6]*x], (-13
+ 5*Sqrt[13])/6])/(3*Sqrt[6*(5 + Sqrt[13])]*Sqrt[3 + 5*x^2 + x^4])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 32.6291, size = 280, normalized size = 0.92 \[ \frac{32 x \left (2 x^{2} + \sqrt{13} + 5\right )}{9 \sqrt{x^{4} + 5 x^{2} + 3}} - \frac{16 \sqrt{6} \sqrt{\frac{x^{2} \left (- \sqrt{13} + 5\right ) + 6}{x^{2} \left (\sqrt{13} + 5\right ) + 6}} \sqrt{\sqrt{13} + 5} \left (x^{2} \left (\sqrt{13} + 5\right ) + 6\right ) E\left (\operatorname{atan}{\left (\frac{\sqrt{6} x \sqrt{\sqrt{13} + 5}}{6} \right )}\middle | - \frac{13}{6} + \frac{5 \sqrt{13}}{6}\right )}{27 \sqrt{x^{4} + 5 x^{2} + 3}} + \frac{49 \sqrt{6} \sqrt{\frac{x^{2} \left (- \sqrt{13} + 5\right ) + 6}{x^{2} \left (\sqrt{13} + 5\right ) + 6}} \left (x^{2} \left (\sqrt{13} + 5\right ) + 6\right ) F\left (\operatorname{atan}{\left (\frac{\sqrt{6} x \sqrt{\sqrt{13} + 5}}{6} \right )}\middle | - \frac{13}{6} + \frac{5 \sqrt{13}}{6}\right )}{18 \sqrt{\sqrt{13} + 5} \sqrt{x^{4} + 5 x^{2} + 3}} - \frac{64 \sqrt{x^{4} + 5 x^{2} + 3}}{9 x} - \frac{\left (- 9 x^{2} + 2\right ) \sqrt{x^{4} + 5 x^{2} + 3}}{3 x^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((3*x**2+2)*(x**4+5*x**2+3)**(1/2)/x**4,x)

[Out]

32*x*(2*x**2 + sqrt(13) + 5)/(9*sqrt(x**4 + 5*x**2 + 3)) - 16*sqrt(6)*sqrt((x**2
*(-sqrt(13) + 5) + 6)/(x**2*(sqrt(13) + 5) + 6))*sqrt(sqrt(13) + 5)*(x**2*(sqrt(
13) + 5) + 6)*elliptic_e(atan(sqrt(6)*x*sqrt(sqrt(13) + 5)/6), -13/6 + 5*sqrt(13
)/6)/(27*sqrt(x**4 + 5*x**2 + 3)) + 49*sqrt(6)*sqrt((x**2*(-sqrt(13) + 5) + 6)/(
x**2*(sqrt(13) + 5) + 6))*(x**2*(sqrt(13) + 5) + 6)*elliptic_f(atan(sqrt(6)*x*sq
rt(sqrt(13) + 5)/6), -13/6 + 5*sqrt(13)/6)/(18*sqrt(sqrt(13) + 5)*sqrt(x**4 + 5*
x**2 + 3)) - 64*sqrt(x**4 + 5*x**2 + 3)/(9*x) - (-9*x**2 + 2)*sqrt(x**4 + 5*x**2
 + 3)/(3*x**3)

_______________________________________________________________________________________

Mathematica [C]  time = 0.549552, size = 237, normalized size = 0.78 \[ \frac{-i \sqrt{2} \left (32 \sqrt{13}-13\right ) \sqrt{\frac{-2 x^2+\sqrt{13}-5}{\sqrt{13}-5}} \sqrt{2 x^2+\sqrt{13}+5} x^3 F\left (i \sinh ^{-1}\left (\sqrt{\frac{2}{5+\sqrt{13}}} x\right )|\frac{19}{6}+\frac{5 \sqrt{13}}{6}\right )+32 i \sqrt{2} \left (\sqrt{13}-5\right ) \sqrt{\frac{-2 x^2+\sqrt{13}-5}{\sqrt{13}-5}} \sqrt{2 x^2+\sqrt{13}+5} x^3 E\left (i \sinh ^{-1}\left (\sqrt{\frac{2}{5+\sqrt{13}}} x\right )|\frac{19}{6}+\frac{5 \sqrt{13}}{6}\right )-2 \left (37 x^6+191 x^4+141 x^2+18\right )}{18 x^3 \sqrt{x^4+5 x^2+3}} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[((2 + 3*x^2)*Sqrt[3 + 5*x^2 + x^4])/x^4,x]

[Out]

(-2*(18 + 141*x^2 + 191*x^4 + 37*x^6) + (32*I)*Sqrt[2]*(-5 + Sqrt[13])*x^3*Sqrt[
(-5 + Sqrt[13] - 2*x^2)/(-5 + Sqrt[13])]*Sqrt[5 + Sqrt[13] + 2*x^2]*EllipticE[I*
ArcSinh[Sqrt[2/(5 + Sqrt[13])]*x], 19/6 + (5*Sqrt[13])/6] - I*Sqrt[2]*(-13 + 32*
Sqrt[13])*x^3*Sqrt[(-5 + Sqrt[13] - 2*x^2)/(-5 + Sqrt[13])]*Sqrt[5 + Sqrt[13] +
2*x^2]*EllipticF[I*ArcSinh[Sqrt[2/(5 + Sqrt[13])]*x], 19/6 + (5*Sqrt[13])/6])/(1
8*x^3*Sqrt[3 + 5*x^2 + x^4])

_______________________________________________________________________________________

Maple [A]  time = 0.025, size = 228, normalized size = 0.8 \[ -{\frac{2}{3\,{x}^{3}}\sqrt{{x}^{4}+5\,{x}^{2}+3}}-{\frac{37}{9\,x}\sqrt{{x}^{4}+5\,{x}^{2}+3}}+98\,{\frac{\sqrt{1- \left ( -5/6+1/6\,\sqrt{13} \right ){x}^{2}}\sqrt{1- \left ( -5/6-1/6\,\sqrt{13} \right ){x}^{2}}{\it EllipticF} \left ( 1/6\,x\sqrt{-30+6\,\sqrt{13}},5/6\,\sqrt{3}+1/6\,\sqrt{39} \right ) }{\sqrt{-30+6\,\sqrt{13}}\sqrt{{x}^{4}+5\,{x}^{2}+3}}}-256\,{\frac{\sqrt{1- \left ( -5/6+1/6\,\sqrt{13} \right ){x}^{2}}\sqrt{1- \left ( -5/6-1/6\,\sqrt{13} \right ){x}^{2}} \left ({\it EllipticF} \left ( 1/6\,x\sqrt{-30+6\,\sqrt{13}},5/6\,\sqrt{3}+1/6\,\sqrt{39} \right ) -{\it EllipticE} \left ( 1/6\,x\sqrt{-30+6\,\sqrt{13}},5/6\,\sqrt{3}+1/6\,\sqrt{39} \right ) \right ) }{\sqrt{-30+6\,\sqrt{13}}\sqrt{{x}^{4}+5\,{x}^{2}+3} \left ( 5+\sqrt{13} \right ) }} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((3*x^2+2)*(x^4+5*x^2+3)^(1/2)/x^4,x)

[Out]

-2/3*(x^4+5*x^2+3)^(1/2)/x^3-37/9*(x^4+5*x^2+3)^(1/2)/x+98/(-30+6*13^(1/2))^(1/2
)*(1-(-5/6+1/6*13^(1/2))*x^2)^(1/2)*(1-(-5/6-1/6*13^(1/2))*x^2)^(1/2)/(x^4+5*x^2
+3)^(1/2)*EllipticF(1/6*x*(-30+6*13^(1/2))^(1/2),5/6*3^(1/2)+1/6*39^(1/2))-256/(
-30+6*13^(1/2))^(1/2)*(1-(-5/6+1/6*13^(1/2))*x^2)^(1/2)*(1-(-5/6-1/6*13^(1/2))*x
^2)^(1/2)/(x^4+5*x^2+3)^(1/2)/(5+13^(1/2))*(EllipticF(1/6*x*(-30+6*13^(1/2))^(1/
2),5/6*3^(1/2)+1/6*39^(1/2))-EllipticE(1/6*x*(-30+6*13^(1/2))^(1/2),5/6*3^(1/2)+
1/6*39^(1/2)))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{x^{4} + 5 \, x^{2} + 3}{\left (3 \, x^{2} + 2\right )}}{x^{4}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(x^4 + 5*x^2 + 3)*(3*x^2 + 2)/x^4,x, algorithm="maxima")

[Out]

integrate(sqrt(x^4 + 5*x^2 + 3)*(3*x^2 + 2)/x^4, x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{\sqrt{x^{4} + 5 \, x^{2} + 3}{\left (3 \, x^{2} + 2\right )}}{x^{4}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(x^4 + 5*x^2 + 3)*(3*x^2 + 2)/x^4,x, algorithm="fricas")

[Out]

integral(sqrt(x^4 + 5*x^2 + 3)*(3*x^2 + 2)/x^4, x)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{\left (3 x^{2} + 2\right ) \sqrt{x^{4} + 5 x^{2} + 3}}{x^{4}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((3*x**2+2)*(x**4+5*x**2+3)**(1/2)/x**4,x)

[Out]

Integral((3*x**2 + 2)*sqrt(x**4 + 5*x**2 + 3)/x**4, x)

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{x^{4} + 5 \, x^{2} + 3}{\left (3 \, x^{2} + 2\right )}}{x^{4}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(x^4 + 5*x^2 + 3)*(3*x^2 + 2)/x^4,x, algorithm="giac")

[Out]

integrate(sqrt(x^4 + 5*x^2 + 3)*(3*x^2 + 2)/x^4, x)